export default {
  path: '/componentmanage',
  component: () => import('@/views/layout/Layout'),
  redirect: '/componentmanage/index',
  alwaysShow: true,
  meta: {
    title: 'componentManage',
    icon: 'component',
    'menuName': '页面组件管理'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/componentManage/pages/index'),
      name: 'ComponentIndex',
      meta: { title: 'componentManageIndex', 'menuName': '页面配置', 'replaceNum': 1 }
    },
    {
      path: 'manage',
      component: () => import('@/views/componentManage/pages/manage'),
      name: 'ComponentManage',
      meta: { title: 'componentManageIndex', hidden: true, activeMenu: '/componentmanage/index', 'menuName': '页面组件配置', 'replaceNum': 1 }
    },
    {
      path: 'category',
      component: () => import('@/views/componentManage/pages/category'),
      name: 'ComponentCategory',
      meta: { title: 'componentManageCategory', 'menuName': '分类管理' }
    }
  ]
}
